<#macro showContentManagement contentUrl contentUserId active contentId>
  <#if contentUserId==userId || adminLogin==true>
	| <a href="#" onClick="window.open('/manage/editContent/${contentUrl}')">Edit</a> | <a href="#" onClick="window.open('/manage/deleteContent/${contentUrl}')">Delete</a>
  </#if>
  <#if adminLogin==true>
	| <#if active=="true">
		<a href="#" onClick="window.open('/admin/activeContent/${contentId}?active=false')">InActive</a>
	  <#else>
		<a href="#" onClick="window.open('/admin/activeContent/${contentId}?active=true')">Active</a>
	  </#if>
  </#if>
</#macro>